<%@ page contentType="text/html;charset=UTF-8" %>
<%@ taglib prefix="s" uri="/struts-tags" %>
<div class="right fr">
    	<div class="qzb">
        	<img src="<s:property value="staticsRoot"/>/images/T1Q7S4XjBlXXXXXXXX-67-67.png" width="67" height="67" alt="" />
            <h3><s:property value="barDO.name"/></h3>
            <p>吧主：
            	<s:iterator value="barRoleList" status="status" id="barRole">
            	<a href='http://my.7k7k.com/space/<s:property value="#barRole.userId"/>'> <s:property value="userMap.get(#barRole.userId).nick" /></a>
            	</s:iterator>
            </p>
            <div class="btn_div">
            	<a href='<s:property value="domainRoot"/>/<s:property value="barAgreementUrl"/>' class="bzzr btn">吧主责任</a>
       			<s:set name="user" value="kbaUser"/>
            	<s:if test="#user != null && (#user.adminRole == 1 || #user.getBarRoleByBarId(barDO.id))">
            	<a href='<s:property value="domainRoot"/>/barManager.html?barId=<s:property value="barDO.id" />' class="sqcjbz btn">吧管理</a>
            	</s:if>
            	<s:else>
                <a href='<s:property value="domainRoot"/>/sqbz.html?barId=<s:property value="barDO.id" />' class="sqcjbz btn">申请吧主</a>
                </s:else>
            </div>
        </div>        
        <s:if test="hotThreadList.size() > 0">
        <div class="r_box">
        	<h3 class="title">24小时热帖</h3> 
            <ul class="list">
            	<s:iterator value="hotThreadList" status="status" id="thread">
            	<li><a href="<s:property value="domainRoot"/>/listThreadReply.html?barId=<s:property value="#thread.barId"/>&threadId=<s:property value="#thread.id"/>" target="_blank"><s:property value="#status.count"/>.<s:property value="#thread.title"/></a></li>
            	</s:iterator>
            </ul>
        </div>
        </s:if>
        <!-- 
        <div class="gg">
        	<a href="###"><img src="<s:property value="staticsRoot"/>/images/T1EDcnXoNgXXaCwpjX.png" width="200" height="150" alt="" /></a>
        </div>
        <div class="gg">
        	<a href="###"><img src="<s:property value="staticsRoot"/>/images/T1YUMlXk0hXXaCwpjX.png" width="200" height="150" alt="" /></a>
        </div>
         -->
        <s:if test="hotBarList.size() > 0">
        <div class="r_box">
        	<h3 class="title">热门K吧</h3>
            <ul class="list">
            	<s:iterator value="hotBarList" status="status" id="bar">
                <li><span class="bm"><a href="listThread.html?barId=<s:property value="#bar.id"/>"><s:property value="#bar.name"/></a></span></li>
                </s:iterator>
            </ul>
        </div>
        </s:if>
        <s:if test="friBarList.size() > 0">
        <div class="r_box">
        	<h3 class="title">相关K吧</h3>
            <ul class="list2">
            	<s:iterator value="friBarList" status="status" id="friBar">
            	<li><a href="###"><s:property value="#friBar.friBarName"/></a></li>
                </s:iterator>
            </ul>
            <div class="clearB"></div>
        </div>
        </s:if>
</div>